package com.hzq.htest.api;



import com.hzq.htest.ui.login.bean.LoginfoBean;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;
import rx.Observable;

/**
 * api的接口代理
 */
public interface ApiService {


   @POST(ApiConstants.APP_LOGIN)
   Observable<LoginfoBean> login(@Header("Cache-Control") String cacheControl, @Body RequestBody requestBody);

}
